<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>ChunkSeqReaderPng (PNGJ 2.1.1-SNAPSHOT API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="ChunkSeqReaderPng (PNGJ 2.1.1-SNAPSHOT API)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ChunkSeqReaderPng.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html" title="class in ar.com.hjg.pngj"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../ar/com/hjg/pngj/ChunkSeqSkipping.html" title="class in ar.com.hjg.pngj"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?ar/com/hjg/pngj/ChunkSeqReaderPng.html" target="_top">Frames</a></li>
<li><a href="ChunkSeqReaderPng.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">ar.com.hjg.pngj</div>
<h2 title="Class ChunkSeqReaderPng" class="title">Class ChunkSeqReaderPng</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html" title="class in ar.com.hjg.pngj">ar.com.hjg.pngj.ChunkSeqReader</a></li>
<li>
<ul class="inheritance">
<li>ar.com.hjg.pngj.ChunkSeqReaderPng</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../ar/com/hjg/pngj/IBytesConsumer.html" title="interface in ar.com.hjg.pngj">IBytesConsumer</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">ChunkSeqReaderPng</span>
extends <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html" title="class in ar.com.hjg.pngj">ChunkSeqReader</a></pre>
<div class="block">Adds to ChunkSeqReader the storing of PngChunk, with a PngFactory, and imageInfo + deinterlacer.
 <p>
 Most usual PNG reading should use this class, or a <a href="../../../../ar/com/hjg/pngj/PngReader.html" title="class in ar.com.hjg.pngj"><code>PngReader</code></a>, which is a thin wrapper over this.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#callbackMode">callbackMode</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../ar/com/hjg/pngj/chunks/ChunksList.html" title="class in ar.com.hjg.pngj.chunks">ChunksList</a></code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#chunksList">chunksList</a></strong></code>
<div class="block">All chunks, but some of them can have the buffer empty (IDAT and skipped)</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../ar/com/hjg/pngj/ImageInfo.html" title="class in ar.com.hjg.pngj">ImageInfo</a></code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#curImageInfo">curImageInfo</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#currentChunkGroup">currentChunkGroup</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../ar/com/hjg/pngj/Deinterlacer.html" title="class in ar.com.hjg.pngj">Deinterlacer</a></code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#deinterlacer">deinterlacer</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../ar/com/hjg/pngj/ImageInfo.html" title="class in ar.com.hjg.pngj">ImageInfo</a></code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#imageInfo">imageInfo</a></strong></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_ar.com.hjg.pngj.ChunkSeqReader">
<!--   -->
</a>
<h3>Fields inherited from class&nbsp;ar.com.hjg.pngj.<a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html" title="class in ar.com.hjg.pngj">ChunkSeqReader</a></h3>
<code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#SIGNATURE_LEN">SIGNATURE_LEN</a>, <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#withSignature">withSignature</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#ChunkSeqReaderPng(boolean)">ChunkSeqReaderPng</a></strong>(boolean&nbsp;callbackMode)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#addChunkToSkip(java.lang.String)">addChunkToSkip</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;chunkToSkip)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#close()">close</a></strong>()</code>
<div class="block">Closes this object and release resources.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#consume(byte[], int, int)">consume</a></strong>(byte[]&nbsp;buf,
       int&nbsp;off,
       int&nbsp;len)</code>
<div class="block">Consumes (in general, partially) a number of bytes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#countChunkTypeAsAncillary(java.lang.String)">countChunkTypeAsAncillary</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../ar/com/hjg/pngj/DeflatedChunksSet.html" title="class in ar.com.hjg.pngj">DeflatedChunksSet</a></code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#createIdatSet(java.lang.String)">createIdatSet</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</code>
<div class="block">DeflatedChunksSet factory.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#dontSkipChunk(java.lang.String)">dontSkipChunk</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;chunkToSkip)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#firstChunksNotYetRead()">firstChunksNotYetRead</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#getBytesChunksLoaded()">getBytesChunksLoaded</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../ar/com/hjg/pngj/chunks/PngChunk.html" title="class in ar.com.hjg.pngj.chunks">PngChunk</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#getChunks()">getChunks</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#getChunksToSkip()">getChunksToSkip</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../ar/com/hjg/pngj/ImageInfo.html" title="class in ar.com.hjg.pngj">ImageInfo</a></code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#getCurImgInfo()">getCurImgInfo</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#getCurrentChunkGroup()">getCurrentChunkGroup</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../ar/com/hjg/pngj/Deinterlacer.html" title="class in ar.com.hjg.pngj">Deinterlacer</a></code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#getDeinterlacer()">getDeinterlacer</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../ar/com/hjg/pngj/IdatSet.html" title="class in ar.com.hjg.pngj">IdatSet</a></code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#getIdatSet()">getIdatSet</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../ar/com/hjg/pngj/ImageInfo.html" title="class in ar.com.hjg.pngj">ImageInfo</a></code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#getImageInfo()">getImageInfo</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#getMaxBytesMetadata()">getMaxBytesMetadata</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#getMaxTotalBytesRead()">getMaxTotalBytesRead</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#getSkipChunkMaxSize()">getSkipChunkMaxSize</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#isCallbackMode()">isCallbackMode</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#isCheckCrc()">isCheckCrc</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#isIdatKind(java.lang.String)">isIdatKind</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</code>
<div class="block">Decides if this Chunk is of "IDAT" kind (in concrete: if it is, and if it's not to be skiped, a DeflatedChunksSet
 will be created to deflate it and process+ the deflated data)
 
 This implementation always returns always false</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#isInterlaced()">isInterlaced</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#postProcessChunk(ar.com.hjg.pngj.ChunkReader)">postProcessChunk</a></strong>(<a href="../../../../ar/com/hjg/pngj/ChunkReader.html" title="class in ar.com.hjg.pngj">ChunkReader</a>&nbsp;chunkR)</code>
<div class="block">This is called after a chunk is read, in all modes
 
 This implementation only chenks the id of the first chunk, and process the IEND chunk (sets done=true)
 
 Further processing should be overriden (call this first!)</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#processEndPng()">processEndPng</a></strong>()</code>
<div class="block">Things to be done after IEND processing.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#setCheckCrc(boolean)">setCheckCrc</a></strong>(boolean&nbsp;checkCrc)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#setChunkFactory(ar.com.hjg.pngj.IChunkFactory)">setChunkFactory</a></strong>(<a href="../../../../ar/com/hjg/pngj/IChunkFactory.html" title="interface in ar.com.hjg.pngj">IChunkFactory</a>&nbsp;chunkFactory)</code>
<div class="block">sets a custom chunk factory.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#setChunkLoadBehaviour(ar.com.hjg.pngj.chunks.ChunkLoadBehaviour)">setChunkLoadBehaviour</a></strong>(<a href="../../../../ar/com/hjg/pngj/chunks/ChunkLoadBehaviour.html" title="enum in ar.com.hjg.pngj.chunks">ChunkLoadBehaviour</a>&nbsp;chunkLoadBehaviour)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#setChunksToSkip(java.lang.String...)">setChunksToSkip</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;chunksToSkip)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#setIncludeNonBufferedChunks(boolean)">setIncludeNonBufferedChunks</a></strong>(boolean&nbsp;includeNonBufferedChunks)</code>
<div class="block">If true, the chunks with no data (because skipped or because processed like IDAT-type) are still stored in the
 PngChunks list, which might be more informative.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#setMaxBytesMetadata(long)">setMaxBytesMetadata</a></strong>(long&nbsp;maxBytesMetadata)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#setMaxTotalBytesRead(long)">setMaxTotalBytesRead</a></strong>(long&nbsp;maxTotalBytesRead)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#setSkipChunkMaxSize(long)">setSkipChunkMaxSize</a></strong>(long&nbsp;skipChunkMaxSize)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#shouldCheckCrc(int, java.lang.String)">shouldCheckCrc</a></strong>(int&nbsp;len,
              <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#shouldSkipContent(int, java.lang.String)">shouldSkipContent</a></strong>(int&nbsp;len,
                 <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</code>
<div class="block">Chunks can be skipped depending on id and/or length.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#startNewChunk(int, java.lang.String, long)">startNewChunk</a></strong>(int&nbsp;len,
             <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
             long&nbsp;offset)</code>
<div class="block">Called for all chunks when a chunk start has been read (id and length), before the chunk data itself is read.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/ChunkSeqReaderPng.html#updateCurImgInfo(ar.com.hjg.pngj.ImageInfo)">updateCurImgInfo</a></strong>(<a href="../../../../ar/com/hjg/pngj/ImageInfo.html" title="class in ar.com.hjg.pngj">ImageInfo</a>&nbsp;iminfo)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_ar.com.hjg.pngj.ChunkSeqReader">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;ar.com.hjg.pngj.<a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html" title="class in ar.com.hjg.pngj">ChunkSeqReader</a></h3>
<code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#checkSignature(byte[])">checkSignature</a>, <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#createChunkReaderForNewChunk(java.lang.String, int, long, boolean)">createChunkReaderForNewChunk</a>, <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#endChunkId()">endChunkId</a>, <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#feedAll(byte[], int, int)">feedAll</a>, <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#feedFromFile(java.io.File)">feedFromFile</a>, <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#feedFromInputStream(java.io.InputStream)">feedFromInputStream</a>, <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#feedFromInputStream(java.io.InputStream, boolean)">feedFromInputStream</a>, <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#firstChunkId()">firstChunkId</a>, <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#getBytesCount()">getBytesCount</a>, <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#getChunkCount()">getChunkCount</a>, <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#getCurChunkReader()">getCurChunkReader</a>, <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#getCurReaderDeflatedSet()">getCurReaderDeflatedSet</a>, <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#getIdatBytes()">getIdatBytes</a>, <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#isAtChunkBoundary()">isAtChunkBoundary</a>, <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#isDone()">isDone</a>, <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#isSignatureDone()">isSignatureDone</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="imageInfo">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>imageInfo</h4>
<pre>protected&nbsp;<a href="../../../../ar/com/hjg/pngj/ImageInfo.html" title="class in ar.com.hjg.pngj">ImageInfo</a> imageInfo</pre>
</li>
</ul>
<a name="curImageInfo">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>curImageInfo</h4>
<pre>protected&nbsp;<a href="../../../../ar/com/hjg/pngj/ImageInfo.html" title="class in ar.com.hjg.pngj">ImageInfo</a> curImageInfo</pre>
</li>
</ul>
<a name="deinterlacer">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deinterlacer</h4>
<pre>protected&nbsp;<a href="../../../../ar/com/hjg/pngj/Deinterlacer.html" title="class in ar.com.hjg.pngj">Deinterlacer</a> deinterlacer</pre>
</li>
</ul>
<a name="currentChunkGroup">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>currentChunkGroup</h4>
<pre>protected&nbsp;int currentChunkGroup</pre>
</li>
</ul>
<a name="chunksList">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>chunksList</h4>
<pre>protected&nbsp;<a href="../../../../ar/com/hjg/pngj/chunks/ChunksList.html" title="class in ar.com.hjg.pngj.chunks">ChunksList</a> chunksList</pre>
<div class="block">All chunks, but some of them can have the buffer empty (IDAT and skipped)</div>
</li>
</ul>
<a name="callbackMode">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>callbackMode</h4>
<pre>protected final&nbsp;boolean callbackMode</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="ChunkSeqReaderPng(boolean)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ChunkSeqReaderPng</h4>
<pre>public&nbsp;ChunkSeqReaderPng(boolean&nbsp;callbackMode)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="shouldSkipContent(int, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldSkipContent</h4>
<pre>public&nbsp;boolean&nbsp;shouldSkipContent(int&nbsp;len,
                        <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#shouldSkipContent(int, java.lang.String)">ChunkSeqReader</a></code></strong></div>
<div class="block">Chunks can be skipped depending on id and/or length. Skipped chunks are still processed, but their data will be
 null, and CRC will never checked</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#shouldSkipContent(int, java.lang.String)">shouldSkipContent</a></code>&nbsp;in class&nbsp;<code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html" title="class in ar.com.hjg.pngj">ChunkSeqReader</a></code></dd>
</dl>
</li>
</ul>
<a name="getBytesChunksLoaded()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytesChunksLoaded</h4>
<pre>public&nbsp;long&nbsp;getBytesChunksLoaded()</pre>
</li>
</ul>
<a name="getCurrentChunkGroup()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCurrentChunkGroup</h4>
<pre>public&nbsp;int&nbsp;getCurrentChunkGroup()</pre>
</li>
</ul>
<a name="setChunksToSkip(java.lang.String...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setChunksToSkip</h4>
<pre>public&nbsp;void&nbsp;setChunksToSkip(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;chunksToSkip)</pre>
</li>
</ul>
<a name="addChunkToSkip(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addChunkToSkip</h4>
<pre>public&nbsp;void&nbsp;addChunkToSkip(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;chunkToSkip)</pre>
</li>
</ul>
<a name="dontSkipChunk(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dontSkipChunk</h4>
<pre>public&nbsp;void&nbsp;dontSkipChunk(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;chunkToSkip)</pre>
</li>
</ul>
<a name="firstChunksNotYetRead()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>firstChunksNotYetRead</h4>
<pre>public&nbsp;boolean&nbsp;firstChunksNotYetRead()</pre>
</li>
</ul>
<a name="postProcessChunk(ar.com.hjg.pngj.ChunkReader)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>postProcessChunk</h4>
<pre>protected&nbsp;void&nbsp;postProcessChunk(<a href="../../../../ar/com/hjg/pngj/ChunkReader.html" title="class in ar.com.hjg.pngj">ChunkReader</a>&nbsp;chunkR)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#postProcessChunk(ar.com.hjg.pngj.ChunkReader)">ChunkSeqReader</a></code></strong></div>
<div class="block">This is called after a chunk is read, in all modes
 
 This implementation only chenks the id of the first chunk, and process the IEND chunk (sets done=true)
 
 Further processing should be overriden (call this first!)</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#postProcessChunk(ar.com.hjg.pngj.ChunkReader)">postProcessChunk</a></code>&nbsp;in class&nbsp;<code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html" title="class in ar.com.hjg.pngj">ChunkSeqReader</a></code></dd>
</dl>
</li>
</ul>
<a name="countChunkTypeAsAncillary(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>countChunkTypeAsAncillary</h4>
<pre>protected&nbsp;boolean&nbsp;countChunkTypeAsAncillary(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</pre>
</li>
</ul>
<a name="createIdatSet(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createIdatSet</h4>
<pre>protected&nbsp;<a href="../../../../ar/com/hjg/pngj/DeflatedChunksSet.html" title="class in ar.com.hjg.pngj">DeflatedChunksSet</a>&nbsp;createIdatSet(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#createIdatSet(java.lang.String)">ChunkSeqReader</a></code></strong></div>
<div class="block">DeflatedChunksSet factory. This implementation is quite dummy, it usually should be overriden.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#createIdatSet(java.lang.String)">createIdatSet</a></code>&nbsp;in class&nbsp;<code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html" title="class in ar.com.hjg.pngj">ChunkSeqReader</a></code></dd>
</dl>
</li>
</ul>
<a name="getIdatSet()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIdatSet</h4>
<pre>public&nbsp;<a href="../../../../ar/com/hjg/pngj/IdatSet.html" title="class in ar.com.hjg.pngj">IdatSet</a>&nbsp;getIdatSet()</pre>
</li>
</ul>
<a name="isIdatKind(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isIdatKind</h4>
<pre>protected&nbsp;boolean&nbsp;isIdatKind(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#isIdatKind(java.lang.String)">ChunkSeqReader</a></code></strong></div>
<div class="block">Decides if this Chunk is of "IDAT" kind (in concrete: if it is, and if it's not to be skiped, a DeflatedChunksSet
 will be created to deflate it and process+ the deflated data)
 
 This implementation always returns always false</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#isIdatKind(java.lang.String)">isIdatKind</a></code>&nbsp;in class&nbsp;<code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html" title="class in ar.com.hjg.pngj">ChunkSeqReader</a></code></dd>
</dl>
</li>
</ul>
<a name="consume(byte[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>consume</h4>
<pre>public&nbsp;int&nbsp;consume(byte[]&nbsp;buf,
          int&nbsp;off,
          int&nbsp;len)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#consume(byte[], int, int)">ChunkSeqReader</a></code></strong></div>
<div class="block">Consumes (in general, partially) a number of bytes. A single call never involves more than one chunk.
 
 When the signature is read, it calls checkSignature()
 
 When the start of a chunk is detected, it calls <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#startNewChunk(int, java.lang.String, long)"><code>ChunkSeqReader.startNewChunk(int, String, long)</code></a>
 
 When data from a chunk is being read, it delegates to <a href="../../../../ar/com/hjg/pngj/ChunkReader.html#feedBytes(byte[], int, int)"><code>ChunkReader.feedBytes(byte[], int, int)</code></a>
 
 The caller might want to call this method more than once in succesion
 
 This should rarely be overriden</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../ar/com/hjg/pngj/IBytesConsumer.html#consume(byte[], int, int)">consume</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../ar/com/hjg/pngj/IBytesConsumer.html" title="interface in ar.com.hjg.pngj">IBytesConsumer</a></code></dd>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#consume(byte[], int, int)">consume</a></code>&nbsp;in class&nbsp;<code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html" title="class in ar.com.hjg.pngj">ChunkSeqReader</a></code></dd>
<dd><code>off</code> - Offset in buffer</dd><dd><code>len</code> - Valid bytes that can be consumed</dd>
<dt><span class="strong">Returns:</span></dt><dd>processed bytes, in the 1-len range. -1 if done. Only returns 0 if len=0.</dd></dl>
</li>
</ul>
<a name="setChunkFactory(ar.com.hjg.pngj.IChunkFactory)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setChunkFactory</h4>
<pre>public&nbsp;void&nbsp;setChunkFactory(<a href="../../../../ar/com/hjg/pngj/IChunkFactory.html" title="interface in ar.com.hjg.pngj">IChunkFactory</a>&nbsp;chunkFactory)</pre>
<div class="block">sets a custom chunk factory. This is typically called with a custom class extends ChunkFactory, to adds custom
 chunks to the default well-know ones</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>chunkFactory</code> - </dd></dl>
</li>
</ul>
<a name="processEndPng()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>processEndPng</h4>
<pre>protected&nbsp;void&nbsp;processEndPng()</pre>
<div class="block">Things to be done after IEND processing. This is not called if prematurely closed.</div>
</li>
</ul>
<a name="getImageInfo()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getImageInfo</h4>
<pre>public&nbsp;<a href="../../../../ar/com/hjg/pngj/ImageInfo.html" title="class in ar.com.hjg.pngj">ImageInfo</a>&nbsp;getImageInfo()</pre>
</li>
</ul>
<a name="isInterlaced()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isInterlaced</h4>
<pre>public&nbsp;boolean&nbsp;isInterlaced()</pre>
</li>
</ul>
<a name="getDeinterlacer()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDeinterlacer</h4>
<pre>public&nbsp;<a href="../../../../ar/com/hjg/pngj/Deinterlacer.html" title="class in ar.com.hjg.pngj">Deinterlacer</a>&nbsp;getDeinterlacer()</pre>
</li>
</ul>
<a name="startNewChunk(int, java.lang.String, long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startNewChunk</h4>
<pre>protected&nbsp;void&nbsp;startNewChunk(int&nbsp;len,
                 <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
                 long&nbsp;offset)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#startNewChunk(int, java.lang.String, long)">ChunkSeqReader</a></code></strong></div>
<div class="block">Called for all chunks when a chunk start has been read (id and length), before the chunk data itself is read. It
 creates a new ChunkReader (field accesible via <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#getCurChunkReader()"><code>ChunkSeqReader.getCurChunkReader()</code></a>) in the corresponding mode, and
 eventually a curReaderDeflatedSet.(field accesible via <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#getCurReaderDeflatedSet()"><code>ChunkSeqReader.getCurReaderDeflatedSet()</code></a>)
 
 To decide the mode and options, it calls <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#shouldCheckCrc(int, java.lang.String)"><code>ChunkSeqReader.shouldCheckCrc(int, String)</code></a>,
 <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#shouldSkipContent(int, java.lang.String)"><code>ChunkSeqReader.shouldSkipContent(int, String)</code></a>, <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#isIdatKind(java.lang.String)"><code>ChunkSeqReader.isIdatKind(String)</code></a>. Those methods should be overriden in
 preference to this; if overriden, this should be called first.
 
 The respective <a href="../../../../ar/com/hjg/pngj/ChunkReader.html#chunkDone()"><code>ChunkReader.chunkDone()</code></a> method is directed to this <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#postProcessChunk(ar.com.hjg.pngj.ChunkReader)"><code>ChunkSeqReader.postProcessChunk(ChunkReader)</code></a>.
 
 Instead of overriding this, see also <a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#createChunkReaderForNewChunk(java.lang.String, int, long, boolean)"><code>ChunkSeqReader.createChunkReaderForNewChunk(String, int, long, boolean)</code></a></div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#startNewChunk(int, java.lang.String, long)">startNewChunk</a></code>&nbsp;in class&nbsp;<code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html" title="class in ar.com.hjg.pngj">ChunkSeqReader</a></code></dd>
</dl>
</li>
</ul>
<a name="close()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>public&nbsp;void&nbsp;close()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#close()">ChunkSeqReader</a></code></strong></div>
<div class="block">Closes this object and release resources. For normal termination or abort. Secure and idempotent.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#close()">close</a></code>&nbsp;in class&nbsp;<code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html" title="class in ar.com.hjg.pngj">ChunkSeqReader</a></code></dd>
</dl>
</li>
</ul>
<a name="getChunks()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChunks</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../ar/com/hjg/pngj/chunks/PngChunk.html" title="class in ar.com.hjg.pngj.chunks">PngChunk</a>&gt;&nbsp;getChunks()</pre>
</li>
</ul>
<a name="setMaxTotalBytesRead(long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMaxTotalBytesRead</h4>
<pre>public&nbsp;void&nbsp;setMaxTotalBytesRead(long&nbsp;maxTotalBytesRead)</pre>
</li>
</ul>
<a name="getSkipChunkMaxSize()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSkipChunkMaxSize</h4>
<pre>public&nbsp;long&nbsp;getSkipChunkMaxSize()</pre>
</li>
</ul>
<a name="setSkipChunkMaxSize(long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSkipChunkMaxSize</h4>
<pre>public&nbsp;void&nbsp;setSkipChunkMaxSize(long&nbsp;skipChunkMaxSize)</pre>
</li>
</ul>
<a name="getMaxBytesMetadata()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxBytesMetadata</h4>
<pre>public&nbsp;long&nbsp;getMaxBytesMetadata()</pre>
</li>
</ul>
<a name="setMaxBytesMetadata(long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMaxBytesMetadata</h4>
<pre>public&nbsp;void&nbsp;setMaxBytesMetadata(long&nbsp;maxBytesMetadata)</pre>
</li>
</ul>
<a name="getMaxTotalBytesRead()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxTotalBytesRead</h4>
<pre>public&nbsp;long&nbsp;getMaxTotalBytesRead()</pre>
</li>
</ul>
<a name="shouldCheckCrc(int, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldCheckCrc</h4>
<pre>protected&nbsp;boolean&nbsp;shouldCheckCrc(int&nbsp;len,
                     <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html#shouldCheckCrc(int, java.lang.String)">shouldCheckCrc</a></code>&nbsp;in class&nbsp;<code><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html" title="class in ar.com.hjg.pngj">ChunkSeqReader</a></code></dd>
</dl>
</li>
</ul>
<a name="isCheckCrc()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCheckCrc</h4>
<pre>public&nbsp;boolean&nbsp;isCheckCrc()</pre>
</li>
</ul>
<a name="setCheckCrc(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCheckCrc</h4>
<pre>public&nbsp;void&nbsp;setCheckCrc(boolean&nbsp;checkCrc)</pre>
</li>
</ul>
<a name="isCallbackMode()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCallbackMode</h4>
<pre>public&nbsp;boolean&nbsp;isCallbackMode()</pre>
</li>
</ul>
<a name="getChunksToSkip()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChunksToSkip</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;getChunksToSkip()</pre>
</li>
</ul>
<a name="setChunkLoadBehaviour(ar.com.hjg.pngj.chunks.ChunkLoadBehaviour)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setChunkLoadBehaviour</h4>
<pre>public&nbsp;void&nbsp;setChunkLoadBehaviour(<a href="../../../../ar/com/hjg/pngj/chunks/ChunkLoadBehaviour.html" title="enum in ar.com.hjg.pngj.chunks">ChunkLoadBehaviour</a>&nbsp;chunkLoadBehaviour)</pre>
</li>
</ul>
<a name="getCurImgInfo()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCurImgInfo</h4>
<pre>public&nbsp;<a href="../../../../ar/com/hjg/pngj/ImageInfo.html" title="class in ar.com.hjg.pngj">ImageInfo</a>&nbsp;getCurImgInfo()</pre>
</li>
</ul>
<a name="updateCurImgInfo(ar.com.hjg.pngj.ImageInfo)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateCurImgInfo</h4>
<pre>public&nbsp;void&nbsp;updateCurImgInfo(<a href="../../../../ar/com/hjg/pngj/ImageInfo.html" title="class in ar.com.hjg.pngj">ImageInfo</a>&nbsp;iminfo)</pre>
</li>
</ul>
<a name="setIncludeNonBufferedChunks(boolean)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setIncludeNonBufferedChunks</h4>
<pre>public&nbsp;void&nbsp;setIncludeNonBufferedChunks(boolean&nbsp;includeNonBufferedChunks)</pre>
<div class="block">If true, the chunks with no data (because skipped or because processed like IDAT-type) are still stored in the
 PngChunks list, which might be more informative.
 
 Setting this to false saves a few bytes
 
 Default: false</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>includeNonBufferedChunks</code> - </dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ChunkSeqReaderPng.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../ar/com/hjg/pngj/ChunkSeqReader.html" title="class in ar.com.hjg.pngj"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../ar/com/hjg/pngj/ChunkSeqSkipping.html" title="class in ar.com.hjg.pngj"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?ar/com/hjg/pngj/ChunkSeqReaderPng.html" target="_top">Frames</a></li>
<li><a href="ChunkSeqReaderPng.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All rights reserved.</small></p>
</body>
</html>
